package com.eshop.modules.shop.service.dto;

import com.eshop.annotation.Query;

public class SystemGroupDataQueryCriteria
{
    //这里结合QueryHelpPlus效果是这样的
    //group_name=val
    @Query
    private String groupName;
    
    public String getGroupName() {
        return this.groupName;
    }
    
    public void setGroupName(final String groupName) {
        this.groupName = groupName;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof SystemGroupDataQueryCriteria)) {
            return false;
        }
        final SystemGroupDataQueryCriteria other = (SystemGroupDataQueryCriteria)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$groupName = this.getGroupName();
        final Object other$groupName = other.getGroupName();
        if (this$groupName == null) {
            if (other$groupName == null) {
                return true;
            }
        }
        else if (this$groupName.equals(other$groupName)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof SystemGroupDataQueryCriteria;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $groupName = this.getGroupName();
        result = result * 59 + (($groupName == null) ? 43 : $groupName.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "SystemGroupDataQueryCriteria(groupName=" + this.getGroupName() + ")";
    }
}
